FROM node:13.10.1-alpine3.10

LABEL maintainer="cwl<chenwenlong@epweike.com>"

# repositorie mirror、timezone
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories ; \
    apk add --no-cache --virtual .timezone-deps tzdata; \
    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ; \
    echo 'Asia/Shanghai' > /etc/timezone; \
    rm -rf /var/cache/apk/* /tmp/* /var/tmp/* /var/lib/apt/lists/*

RUN npm install --registry=https://registry.npm.taobao.org; \
    yarn config set registry https://registry.npm.taobao.org/

RUN yarn global add @vue/cli

RUN npm install -g @vue/cli-service-global

RUN npm install -g webpack webpack-cli

RUN npm install qs --save

RUN npm i element-ui -S

RUN npm install --global gulp-cli

RUN npm install --save-dev gulp

WORKDIR /app
